<!-- $Id: mshop_pay_log_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<div class="form-div">
  <form action="javascript:searchMshop()" name="searchForm">
    <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
    {$lang.user_name}：<input type="text" name="user_name" size="30" />
    提现账户：<input type="text" name="keyword" size="30" />
    提现金额：<input type="text" name="min_pay_fee" size="10" />-<input type="text" name="max_pay_fee" size="10" />&nbsp;
    <input type="submit" value="{$lang.button_search}" class="button" /> 
  
  </form>

</div>

<form method="post" action="mshop_pay_log.php" name="listForm" onsubmit="return confirm(batch_drop_confirm);">
<!-- start mshop list -->
<div class="list-div" id="listDiv">
{/if}

  <table cellpadding="3" cellspacing="1">
    <tr>
      <th>
        <a href="javascript:listTable.sort('log_id'); ">{$lang.log_id}</a>{$sort_log_id}</th>
      <th>{$lang.user_name}</th>
      <th>提现账户</th>
      <th><a href="javascript:listTable.sort('pay_fee'); ">{$lang.pay_fee}</a>{$sort_pay_fee}</th>
      <th>{$lang.ctime}</th>
       <th>备注</th>
    </tr>

    {foreach from=$mshop_pay_log_list item=pay_log}
    <tr>
      <td align="left">{$pay_log.log_id}</td>
      <td align="center">{$pay_log.mshop_name|escape:html}</td>
      <td align="center">{$pay_log.mch_billno|escape:html}</td>
       <td align="center">{$pay_log.pay_fee}</td>
       <td align="center">{$pay_log.ctime|escape:html}</td>
       <td align="center">{$pay_log.remark|escape:html}</td>
    </tr>
    {foreachelse}
    <tr><td class="no-records" colspan="13">{$lang.no_records}</td></tr>
    {/foreach}
  </table>

  <table cellpadding="4" cellspacing="0">
    <tr>
      <td></td>
      <td align="right">{include file="page.htm"}</td>
    </tr>
  </table>

{if $full_page}
</div>
<!-- end mshop list -->
</form>

<script type="text/javascript" language="JavaScript">
<!--
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}

  {literal}
  onload = function()
  {
    document.forms['searchForm'].elements['user_name'].focus();

    startCheckOrder();
  }

  /**
   * 搜索团购活动
   */
  function searchMshop()
  {

    var user_name = Utils.trim(document.forms['searchForm'].elements['user_name'].value);
	var keyword = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
	var min_pay_fee = Utils.trim(document.forms['searchForm'].elements['min_pay_fee'].value);
	var max_pay_fee = Utils.trim(document.forms['searchForm'].elements['max_pay_fee'].value);


    listTable.filter['user_name'] = user_name;
	listTable.filter['keyword'] = keyword;
	listTable.filter['min_pay_fee'] = min_pay_fee;
	listTable.filter['max_pay_fee'] = max_pay_fee;
    listTable.filter['page'] = 1;
    listTable.loadList("mshop_pay_log_list");
  }
  {/literal}
//-->
</script>

{include file="pagefooter.htm"}
{/if}